import Vue from 'vue';
import VueRouter from 'vue-router';
import RouterHome from './RouterHome';
import RouterLogin from './RouterLogin';
import RouterDemoTest from './RouterDemoTest';
Vue.use(VueRouter);

const routes = [
  ...RouterHome,
  ...RouterDemoTest,
  ...RouterLogin
];

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes,
});

export default router;
